/**
 * 
 */
package com.orange.modules.entity.school;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 学校联系人
 * 
 * @author gaogs
 *
 * 2016-11-18
 */
@Table(name = "t_auth_school_contacts")
@Entity
public class AuthSchoolContacts {

	private String pid ;//
	private String schoolId ;//学校id
	private String name ;//联系人名称
	private String type ;//职务类型 0：分管领导  1：教科院负责人  2：教务处负责人
	private String mobilePhone ;//手机号码
	private String telephone ;//办公电话
	private String email ;//邮箱
	private String createTime ;//
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_school_id",length=50)
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name = "s_name",length=255)
	public String getName() {
		return name;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	@Column(name = "s_mobile_phone",length=11)
	public String getMobilePhone() {
		return mobilePhone;
	}
	@Column(name = "s_telephone",length=255)
	public String getTelephone() {
		return telephone;
	}
	@Column(name = "s_email",length=255)
	public String getEmail() {
		return email;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	
	
	
}
